<%@ page language="java" pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>asdf</title>
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/bootstrap/css/bootstrap.min.css" />
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/bootstrap/css/bootstrap-responsive.min.css" />
	</head>
	<body>
	
	<div class="container">
	<table class="table">
	<thead>
                <tr>
                  <th>#</th>
                  <th>${count}
                  <c:if test="${count} == 0">
                  <a href="sync">同步</a>
                  </c:if>
                  </th>
                </tr>
              </thead>
	
              <tbody>
	
	<c:forEach items= "${chapters}" var="chapter">
	<tr>
                  <td width="70px">${chapter.id }</td>
                  <td>${chapter.title }</td>
                </tr>
	</c:forEach>
	</tbody>
            </table>
	</div>
	</body>
</html>
